<?php
/**
 * 获取测试
 */
header("Content-Type:text/html;charset=UTF-8");
require_once '../settings.php';

	$dbh = new kyodb();

//	var_dump( $dbh->getPost(1) );

//var_dump( $dbh->getTag(1) );
var_dump( $dbh->getCategories(1) );

//var_dump( $dbh->getAuthors() );

/*$xTag = $dbh->getTag(5);
$xTag = $xTag['name'];
var_dump($xTag);*/
	
/*	$xTag = "dasdsadsa 关奶奶子，的撒旦。大师的撒,大家积极. dd";
	$xTag = makeTags($xTag);
				$tags = array( implode(' ',$xTag) );
	var_dump($tags);*/
				
	/*$posts = $dbh->getPosts(0);
	var_dump($posts);*/
	
	
//	var_dump($dbh->getPostSum());

	
	
	
	?>